package com.pzhyd.sc.entity;

/**
 * Rminfo entity. @author MyEclipse Persistence Tools
 */

public class Rminfo implements java.io.Serializable {

	// Fields

	private int rmid;
	private Roleinfo roleinfo=new Roleinfo();
	private Menuinfo menuinfo=new Menuinfo();

	// Constructors

	/** default constructor */
	public Rminfo() {
	}

	/** full constructor */
	public Rminfo(Roleinfo roleinfo, Menuinfo menuinfo) {
		this.roleinfo = roleinfo;
		this.menuinfo = menuinfo;
	}

	// Property accessors

	public int getRmid() {
		return this.rmid;
	}

	public void setRmid(int rmid) {
		this.rmid = rmid;
	}

	public Roleinfo getRoleinfo() {
		return this.roleinfo;
	}

	public void setRoleinfo(Roleinfo roleinfo) {
		this.roleinfo = roleinfo;
	}

	public Menuinfo getMenuinfo() {
		return this.menuinfo;
	}

	public void setMenuinfo(Menuinfo menuinfo) {
		this.menuinfo = menuinfo;
	}

}